import { http } from '@/http/http'
import { IGetKnowledgeRequest, IGetKnowledgeResponse } from './types/knowledge'

/**
 * 获取知识文章列表
 * @param params 请求参数
 */
export function getKnowledgeList(params: IGetKnowledgeRequest) {
  return http.get<IGetKnowledgeResponse>('/patient/home/knowledge', params)
}